﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Meqs.Entity
{
    [Serializable]
    public class TeacherEvalDetail
    {
        public TeacherEvalDetail()
		{
			m_RID = 0;

		}

		#region RID
		
		private int m_RID;
		
		public int RID
		{
			get { return m_RID; }
			set { m_RID = value; }
		}
		
		#endregion
		
		#region RecordID
		
		private int? m_RecordID;
		
		public int? RecordID
		{
			get { return m_RecordID; }
			set { m_RecordID = value; }
		}
		
		#endregion
		
		#region Itemid
		
		private int? m_Itemid;
		
		public int? Itemid
		{
			get { return m_Itemid; }
			set { m_Itemid = value; }
		}
		
		#endregion

        #region TeacherID

        private int? _teacherID;

        public int? TeacherID
		{
            get { return _teacherID; }
            set { _teacherID = value; }
		}
		
		#endregion
		
		#region Param
		
		private double? m_Param;

        public double? Param
		{
			get { return m_Param; }
			set { m_Param = value; }
		}
		
		#endregion
		

		
		#region Rewrite Equals and HashCode
		
		/// <summary>
		/// 
		/// </summary>
		public override bool Equals(object obj)
		{
			if( this == obj ) return true;
			if( ( obj == null ) || ( obj.GetType() != GetType() ) ) return false;
            TeacherEvalDetail castObj = (TeacherEvalDetail)obj;
			return ( castObj != null )
            && m_RID == castObj.RID;		
        }
		
		/// <summary>
		/// 用唯一值实现GetHashCode
		/// </summary>
		public override int GetHashCode()
		{
			int hash = 75;
			hash = hash * 75
            * m_RID.GetHashCode();			
            return hash;
		}
		
		#endregion
		
		
    }
}
